package com.zxcl.model;

import com.zxcl.domain.OrderItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("店铺订单模型")
public class ShopOrder {

    @ApiModelProperty("店铺的id")
    private Long shopId;
    @ApiModelProperty("店铺的名称")
    private String shopName;
    @ApiModelProperty("店铺的logo")
    private String shopLogo;
    @ApiModelProperty("店铺的连接")  //md就是店铺的地址
    private String shopLink;

    @ApiModelProperty("店铺的商品集合")
    private List<OrderItem> shopOrderItems;
}
